package com.gridmobi.xrtb.domain.dsp;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class DspCreativeVideoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public DspCreativeVideoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNull() {
            addCriterion("updatetime is null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNotNull() {
            addCriterion("updatetime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeEqualTo(Date value) {
            addCriterion("updatetime =", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotEqualTo(Date value) {
            addCriterion("updatetime <>", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThan(Date value) {
            addCriterion("updatetime >", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("updatetime >=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThan(Date value) {
            addCriterion("updatetime <", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("updatetime <=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIn(List<Date> values) {
            addCriterion("updatetime in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotIn(List<Date> values) {
            addCriterion("updatetime not in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeBetween(Date value1, Date value2) {
            addCriterion("updatetime between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("updatetime not between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createtime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createtime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createtime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createtime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createtime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createtime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createtime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createtime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createtime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createtime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createtime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createtime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andStateIsNull() {
            addCriterion("state is null");
            return (Criteria) this;
        }

        public Criteria andStateIsNotNull() {
            addCriterion("state is not null");
            return (Criteria) this;
        }

        public Criteria andStateEqualTo(Integer value) {
            addCriterion("state =", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotEqualTo(Integer value) {
            addCriterion("state <>", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThan(Integer value) {
            addCriterion("state >", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("state >=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThan(Integer value) {
            addCriterion("state <", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThanOrEqualTo(Integer value) {
            addCriterion("state <=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateIn(List<Integer> values) {
            addCriterion("state in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotIn(List<Integer> values) {
            addCriterion("state not in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateBetween(Integer value1, Integer value2) {
            addCriterion("state between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotBetween(Integer value1, Integer value2) {
            addCriterion("state not between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andDeleteflagIsNull() {
            addCriterion("deleteflag is null");
            return (Criteria) this;
        }

        public Criteria andDeleteflagIsNotNull() {
            addCriterion("deleteflag is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteflagEqualTo(Integer value) {
            addCriterion("deleteflag =", value, "deleteflag");
            return (Criteria) this;
        }

        public Criteria andDeleteflagNotEqualTo(Integer value) {
            addCriterion("deleteflag <>", value, "deleteflag");
            return (Criteria) this;
        }

        public Criteria andDeleteflagGreaterThan(Integer value) {
            addCriterion("deleteflag >", value, "deleteflag");
            return (Criteria) this;
        }

        public Criteria andDeleteflagGreaterThanOrEqualTo(Integer value) {
            addCriterion("deleteflag >=", value, "deleteflag");
            return (Criteria) this;
        }

        public Criteria andDeleteflagLessThan(Integer value) {
            addCriterion("deleteflag <", value, "deleteflag");
            return (Criteria) this;
        }

        public Criteria andDeleteflagLessThanOrEqualTo(Integer value) {
            addCriterion("deleteflag <=", value, "deleteflag");
            return (Criteria) this;
        }

        public Criteria andDeleteflagIn(List<Integer> values) {
            addCriterion("deleteflag in", values, "deleteflag");
            return (Criteria) this;
        }

        public Criteria andDeleteflagNotIn(List<Integer> values) {
            addCriterion("deleteflag not in", values, "deleteflag");
            return (Criteria) this;
        }

        public Criteria andDeleteflagBetween(Integer value1, Integer value2) {
            addCriterion("deleteflag between", value1, value2, "deleteflag");
            return (Criteria) this;
        }

        public Criteria andDeleteflagNotBetween(Integer value1, Integer value2) {
            addCriterion("deleteflag not between", value1, value2, "deleteflag");
            return (Criteria) this;
        }

        public Criteria andMimesIsNull() {
            addCriterion("mimes is null");
            return (Criteria) this;
        }

        public Criteria andMimesIsNotNull() {
            addCriterion("mimes is not null");
            return (Criteria) this;
        }

        public Criteria andMimesEqualTo(String value) {
            addCriterion("mimes =", value, "mimes");
            return (Criteria) this;
        }

        public Criteria andMimesNotEqualTo(String value) {
            addCriterion("mimes <>", value, "mimes");
            return (Criteria) this;
        }

        public Criteria andMimesGreaterThan(String value) {
            addCriterion("mimes >", value, "mimes");
            return (Criteria) this;
        }

        public Criteria andMimesGreaterThanOrEqualTo(String value) {
            addCriterion("mimes >=", value, "mimes");
            return (Criteria) this;
        }

        public Criteria andMimesLessThan(String value) {
            addCriterion("mimes <", value, "mimes");
            return (Criteria) this;
        }

        public Criteria andMimesLessThanOrEqualTo(String value) {
            addCriterion("mimes <=", value, "mimes");
            return (Criteria) this;
        }

        public Criteria andMimesLike(String value) {
            addCriterion("mimes like", value, "mimes");
            return (Criteria) this;
        }

        public Criteria andMimesNotLike(String value) {
            addCriterion("mimes not like", value, "mimes");
            return (Criteria) this;
        }

        public Criteria andMimesIn(List<String> values) {
            addCriterion("mimes in", values, "mimes");
            return (Criteria) this;
        }

        public Criteria andMimesNotIn(List<String> values) {
            addCriterion("mimes not in", values, "mimes");
            return (Criteria) this;
        }

        public Criteria andMimesBetween(String value1, String value2) {
            addCriterion("mimes between", value1, value2, "mimes");
            return (Criteria) this;
        }

        public Criteria andMimesNotBetween(String value1, String value2) {
            addCriterion("mimes not between", value1, value2, "mimes");
            return (Criteria) this;
        }

        public Criteria andMindurationIsNull() {
            addCriterion("minduration is null");
            return (Criteria) this;
        }

        public Criteria andMindurationIsNotNull() {
            addCriterion("minduration is not null");
            return (Criteria) this;
        }

        public Criteria andMindurationEqualTo(Integer value) {
            addCriterion("minduration =", value, "minduration");
            return (Criteria) this;
        }

        public Criteria andMindurationNotEqualTo(Integer value) {
            addCriterion("minduration <>", value, "minduration");
            return (Criteria) this;
        }

        public Criteria andMindurationGreaterThan(Integer value) {
            addCriterion("minduration >", value, "minduration");
            return (Criteria) this;
        }

        public Criteria andMindurationGreaterThanOrEqualTo(Integer value) {
            addCriterion("minduration >=", value, "minduration");
            return (Criteria) this;
        }

        public Criteria andMindurationLessThan(Integer value) {
            addCriterion("minduration <", value, "minduration");
            return (Criteria) this;
        }

        public Criteria andMindurationLessThanOrEqualTo(Integer value) {
            addCriterion("minduration <=", value, "minduration");
            return (Criteria) this;
        }

        public Criteria andMindurationIn(List<Integer> values) {
            addCriterion("minduration in", values, "minduration");
            return (Criteria) this;
        }

        public Criteria andMindurationNotIn(List<Integer> values) {
            addCriterion("minduration not in", values, "minduration");
            return (Criteria) this;
        }

        public Criteria andMindurationBetween(Integer value1, Integer value2) {
            addCriterion("minduration between", value1, value2, "minduration");
            return (Criteria) this;
        }

        public Criteria andMindurationNotBetween(Integer value1, Integer value2) {
            addCriterion("minduration not between", value1, value2, "minduration");
            return (Criteria) this;
        }

        public Criteria andMaxdurationIsNull() {
            addCriterion("maxduration is null");
            return (Criteria) this;
        }

        public Criteria andMaxdurationIsNotNull() {
            addCriterion("maxduration is not null");
            return (Criteria) this;
        }

        public Criteria andMaxdurationEqualTo(Integer value) {
            addCriterion("maxduration =", value, "maxduration");
            return (Criteria) this;
        }

        public Criteria andMaxdurationNotEqualTo(Integer value) {
            addCriterion("maxduration <>", value, "maxduration");
            return (Criteria) this;
        }

        public Criteria andMaxdurationGreaterThan(Integer value) {
            addCriterion("maxduration >", value, "maxduration");
            return (Criteria) this;
        }

        public Criteria andMaxdurationGreaterThanOrEqualTo(Integer value) {
            addCriterion("maxduration >=", value, "maxduration");
            return (Criteria) this;
        }

        public Criteria andMaxdurationLessThan(Integer value) {
            addCriterion("maxduration <", value, "maxduration");
            return (Criteria) this;
        }

        public Criteria andMaxdurationLessThanOrEqualTo(Integer value) {
            addCriterion("maxduration <=", value, "maxduration");
            return (Criteria) this;
        }

        public Criteria andMaxdurationIn(List<Integer> values) {
            addCriterion("maxduration in", values, "maxduration");
            return (Criteria) this;
        }

        public Criteria andMaxdurationNotIn(List<Integer> values) {
            addCriterion("maxduration not in", values, "maxduration");
            return (Criteria) this;
        }

        public Criteria andMaxdurationBetween(Integer value1, Integer value2) {
            addCriterion("maxduration between", value1, value2, "maxduration");
            return (Criteria) this;
        }

        public Criteria andMaxdurationNotBetween(Integer value1, Integer value2) {
            addCriterion("maxduration not between", value1, value2, "maxduration");
            return (Criteria) this;
        }

        public Criteria andProtocolsIsNull() {
            addCriterion("protocols is null");
            return (Criteria) this;
        }

        public Criteria andProtocolsIsNotNull() {
            addCriterion("protocols is not null");
            return (Criteria) this;
        }

        public Criteria andProtocolsEqualTo(Integer value) {
            addCriterion("protocols =", value, "protocols");
            return (Criteria) this;
        }

        public Criteria andProtocolsNotEqualTo(Integer value) {
            addCriterion("protocols <>", value, "protocols");
            return (Criteria) this;
        }

        public Criteria andProtocolsGreaterThan(Integer value) {
            addCriterion("protocols >", value, "protocols");
            return (Criteria) this;
        }

        public Criteria andProtocolsGreaterThanOrEqualTo(Integer value) {
            addCriterion("protocols >=", value, "protocols");
            return (Criteria) this;
        }

        public Criteria andProtocolsLessThan(Integer value) {
            addCriterion("protocols <", value, "protocols");
            return (Criteria) this;
        }

        public Criteria andProtocolsLessThanOrEqualTo(Integer value) {
            addCriterion("protocols <=", value, "protocols");
            return (Criteria) this;
        }

        public Criteria andProtocolsIn(List<Integer> values) {
            addCriterion("protocols in", values, "protocols");
            return (Criteria) this;
        }

        public Criteria andProtocolsNotIn(List<Integer> values) {
            addCriterion("protocols not in", values, "protocols");
            return (Criteria) this;
        }

        public Criteria andProtocolsBetween(Integer value1, Integer value2) {
            addCriterion("protocols between", value1, value2, "protocols");
            return (Criteria) this;
        }

        public Criteria andProtocolsNotBetween(Integer value1, Integer value2) {
            addCriterion("protocols not between", value1, value2, "protocols");
            return (Criteria) this;
        }

        public Criteria andProtocolIsNull() {
            addCriterion("protocol is null");
            return (Criteria) this;
        }

        public Criteria andProtocolIsNotNull() {
            addCriterion("protocol is not null");
            return (Criteria) this;
        }

        public Criteria andProtocolEqualTo(Integer value) {
            addCriterion("protocol =", value, "protocol");
            return (Criteria) this;
        }

        public Criteria andProtocolNotEqualTo(Integer value) {
            addCriterion("protocol <>", value, "protocol");
            return (Criteria) this;
        }

        public Criteria andProtocolGreaterThan(Integer value) {
            addCriterion("protocol >", value, "protocol");
            return (Criteria) this;
        }

        public Criteria andProtocolGreaterThanOrEqualTo(Integer value) {
            addCriterion("protocol >=", value, "protocol");
            return (Criteria) this;
        }

        public Criteria andProtocolLessThan(Integer value) {
            addCriterion("protocol <", value, "protocol");
            return (Criteria) this;
        }

        public Criteria andProtocolLessThanOrEqualTo(Integer value) {
            addCriterion("protocol <=", value, "protocol");
            return (Criteria) this;
        }

        public Criteria andProtocolIn(List<Integer> values) {
            addCriterion("protocol in", values, "protocol");
            return (Criteria) this;
        }

        public Criteria andProtocolNotIn(List<Integer> values) {
            addCriterion("protocol not in", values, "protocol");
            return (Criteria) this;
        }

        public Criteria andProtocolBetween(Integer value1, Integer value2) {
            addCriterion("protocol between", value1, value2, "protocol");
            return (Criteria) this;
        }

        public Criteria andProtocolNotBetween(Integer value1, Integer value2) {
            addCriterion("protocol not between", value1, value2, "protocol");
            return (Criteria) this;
        }

        public Criteria andWIsNull() {
            addCriterion("w is null");
            return (Criteria) this;
        }

        public Criteria andWIsNotNull() {
            addCriterion("w is not null");
            return (Criteria) this;
        }

        public Criteria andWEqualTo(Integer value) {
            addCriterion("w =", value, "w");
            return (Criteria) this;
        }

        public Criteria andWNotEqualTo(Integer value) {
            addCriterion("w <>", value, "w");
            return (Criteria) this;
        }

        public Criteria andWGreaterThan(Integer value) {
            addCriterion("w >", value, "w");
            return (Criteria) this;
        }

        public Criteria andWGreaterThanOrEqualTo(Integer value) {
            addCriterion("w >=", value, "w");
            return (Criteria) this;
        }

        public Criteria andWLessThan(Integer value) {
            addCriterion("w <", value, "w");
            return (Criteria) this;
        }

        public Criteria andWLessThanOrEqualTo(Integer value) {
            addCriterion("w <=", value, "w");
            return (Criteria) this;
        }

        public Criteria andWIn(List<Integer> values) {
            addCriterion("w in", values, "w");
            return (Criteria) this;
        }

        public Criteria andWNotIn(List<Integer> values) {
            addCriterion("w not in", values, "w");
            return (Criteria) this;
        }

        public Criteria andWBetween(Integer value1, Integer value2) {
            addCriterion("w between", value1, value2, "w");
            return (Criteria) this;
        }

        public Criteria andWNotBetween(Integer value1, Integer value2) {
            addCriterion("w not between", value1, value2, "w");
            return (Criteria) this;
        }

        public Criteria andHIsNull() {
            addCriterion("h is null");
            return (Criteria) this;
        }

        public Criteria andHIsNotNull() {
            addCriterion("h is not null");
            return (Criteria) this;
        }

        public Criteria andHEqualTo(Integer value) {
            addCriterion("h =", value, "h");
            return (Criteria) this;
        }

        public Criteria andHNotEqualTo(Integer value) {
            addCriterion("h <>", value, "h");
            return (Criteria) this;
        }

        public Criteria andHGreaterThan(Integer value) {
            addCriterion("h >", value, "h");
            return (Criteria) this;
        }

        public Criteria andHGreaterThanOrEqualTo(Integer value) {
            addCriterion("h >=", value, "h");
            return (Criteria) this;
        }

        public Criteria andHLessThan(Integer value) {
            addCriterion("h <", value, "h");
            return (Criteria) this;
        }

        public Criteria andHLessThanOrEqualTo(Integer value) {
            addCriterion("h <=", value, "h");
            return (Criteria) this;
        }

        public Criteria andHIn(List<Integer> values) {
            addCriterion("h in", values, "h");
            return (Criteria) this;
        }

        public Criteria andHNotIn(List<Integer> values) {
            addCriterion("h not in", values, "h");
            return (Criteria) this;
        }

        public Criteria andHBetween(Integer value1, Integer value2) {
            addCriterion("h between", value1, value2, "h");
            return (Criteria) this;
        }

        public Criteria andHNotBetween(Integer value1, Integer value2) {
            addCriterion("h not between", value1, value2, "h");
            return (Criteria) this;
        }

        public Criteria andStartdelayIsNull() {
            addCriterion("startdelay is null");
            return (Criteria) this;
        }

        public Criteria andStartdelayIsNotNull() {
            addCriterion("startdelay is not null");
            return (Criteria) this;
        }

        public Criteria andStartdelayEqualTo(Integer value) {
            addCriterion("startdelay =", value, "startdelay");
            return (Criteria) this;
        }

        public Criteria andStartdelayNotEqualTo(Integer value) {
            addCriterion("startdelay <>", value, "startdelay");
            return (Criteria) this;
        }

        public Criteria andStartdelayGreaterThan(Integer value) {
            addCriterion("startdelay >", value, "startdelay");
            return (Criteria) this;
        }

        public Criteria andStartdelayGreaterThanOrEqualTo(Integer value) {
            addCriterion("startdelay >=", value, "startdelay");
            return (Criteria) this;
        }

        public Criteria andStartdelayLessThan(Integer value) {
            addCriterion("startdelay <", value, "startdelay");
            return (Criteria) this;
        }

        public Criteria andStartdelayLessThanOrEqualTo(Integer value) {
            addCriterion("startdelay <=", value, "startdelay");
            return (Criteria) this;
        }

        public Criteria andStartdelayIn(List<Integer> values) {
            addCriterion("startdelay in", values, "startdelay");
            return (Criteria) this;
        }

        public Criteria andStartdelayNotIn(List<Integer> values) {
            addCriterion("startdelay not in", values, "startdelay");
            return (Criteria) this;
        }

        public Criteria andStartdelayBetween(Integer value1, Integer value2) {
            addCriterion("startdelay between", value1, value2, "startdelay");
            return (Criteria) this;
        }

        public Criteria andStartdelayNotBetween(Integer value1, Integer value2) {
            addCriterion("startdelay not between", value1, value2, "startdelay");
            return (Criteria) this;
        }

        public Criteria andPlacementIsNull() {
            addCriterion("placement is null");
            return (Criteria) this;
        }

        public Criteria andPlacementIsNotNull() {
            addCriterion("placement is not null");
            return (Criteria) this;
        }

        public Criteria andPlacementEqualTo(Integer value) {
            addCriterion("placement =", value, "placement");
            return (Criteria) this;
        }

        public Criteria andPlacementNotEqualTo(Integer value) {
            addCriterion("placement <>", value, "placement");
            return (Criteria) this;
        }

        public Criteria andPlacementGreaterThan(Integer value) {
            addCriterion("placement >", value, "placement");
            return (Criteria) this;
        }

        public Criteria andPlacementGreaterThanOrEqualTo(Integer value) {
            addCriterion("placement >=", value, "placement");
            return (Criteria) this;
        }

        public Criteria andPlacementLessThan(Integer value) {
            addCriterion("placement <", value, "placement");
            return (Criteria) this;
        }

        public Criteria andPlacementLessThanOrEqualTo(Integer value) {
            addCriterion("placement <=", value, "placement");
            return (Criteria) this;
        }

        public Criteria andPlacementIn(List<Integer> values) {
            addCriterion("placement in", values, "placement");
            return (Criteria) this;
        }

        public Criteria andPlacementNotIn(List<Integer> values) {
            addCriterion("placement not in", values, "placement");
            return (Criteria) this;
        }

        public Criteria andPlacementBetween(Integer value1, Integer value2) {
            addCriterion("placement between", value1, value2, "placement");
            return (Criteria) this;
        }

        public Criteria andPlacementNotBetween(Integer value1, Integer value2) {
            addCriterion("placement not between", value1, value2, "placement");
            return (Criteria) this;
        }

        public Criteria andLinearityIsNull() {
            addCriterion("linearity is null");
            return (Criteria) this;
        }

        public Criteria andLinearityIsNotNull() {
            addCriterion("linearity is not null");
            return (Criteria) this;
        }

        public Criteria andLinearityEqualTo(Integer value) {
            addCriterion("linearity =", value, "linearity");
            return (Criteria) this;
        }

        public Criteria andLinearityNotEqualTo(Integer value) {
            addCriterion("linearity <>", value, "linearity");
            return (Criteria) this;
        }

        public Criteria andLinearityGreaterThan(Integer value) {
            addCriterion("linearity >", value, "linearity");
            return (Criteria) this;
        }

        public Criteria andLinearityGreaterThanOrEqualTo(Integer value) {
            addCriterion("linearity >=", value, "linearity");
            return (Criteria) this;
        }

        public Criteria andLinearityLessThan(Integer value) {
            addCriterion("linearity <", value, "linearity");
            return (Criteria) this;
        }

        public Criteria andLinearityLessThanOrEqualTo(Integer value) {
            addCriterion("linearity <=", value, "linearity");
            return (Criteria) this;
        }

        public Criteria andLinearityIn(List<Integer> values) {
            addCriterion("linearity in", values, "linearity");
            return (Criteria) this;
        }

        public Criteria andLinearityNotIn(List<Integer> values) {
            addCriterion("linearity not in", values, "linearity");
            return (Criteria) this;
        }

        public Criteria andLinearityBetween(Integer value1, Integer value2) {
            addCriterion("linearity between", value1, value2, "linearity");
            return (Criteria) this;
        }

        public Criteria andLinearityNotBetween(Integer value1, Integer value2) {
            addCriterion("linearity not between", value1, value2, "linearity");
            return (Criteria) this;
        }

        public Criteria andSkipIsNull() {
            addCriterion("skip is null");
            return (Criteria) this;
        }

        public Criteria andSkipIsNotNull() {
            addCriterion("skip is not null");
            return (Criteria) this;
        }

        public Criteria andSkipEqualTo(Integer value) {
            addCriterion("skip =", value, "skip");
            return (Criteria) this;
        }

        public Criteria andSkipNotEqualTo(Integer value) {
            addCriterion("skip <>", value, "skip");
            return (Criteria) this;
        }

        public Criteria andSkipGreaterThan(Integer value) {
            addCriterion("skip >", value, "skip");
            return (Criteria) this;
        }

        public Criteria andSkipGreaterThanOrEqualTo(Integer value) {
            addCriterion("skip >=", value, "skip");
            return (Criteria) this;
        }

        public Criteria andSkipLessThan(Integer value) {
            addCriterion("skip <", value, "skip");
            return (Criteria) this;
        }

        public Criteria andSkipLessThanOrEqualTo(Integer value) {
            addCriterion("skip <=", value, "skip");
            return (Criteria) this;
        }

        public Criteria andSkipIn(List<Integer> values) {
            addCriterion("skip in", values, "skip");
            return (Criteria) this;
        }

        public Criteria andSkipNotIn(List<Integer> values) {
            addCriterion("skip not in", values, "skip");
            return (Criteria) this;
        }

        public Criteria andSkipBetween(Integer value1, Integer value2) {
            addCriterion("skip between", value1, value2, "skip");
            return (Criteria) this;
        }

        public Criteria andSkipNotBetween(Integer value1, Integer value2) {
            addCriterion("skip not between", value1, value2, "skip");
            return (Criteria) this;
        }

        public Criteria andBattrIsNull() {
            addCriterion("battr is null");
            return (Criteria) this;
        }

        public Criteria andBattrIsNotNull() {
            addCriterion("battr is not null");
            return (Criteria) this;
        }

        public Criteria andBattrEqualTo(Integer value) {
            addCriterion("battr =", value, "battr");
            return (Criteria) this;
        }

        public Criteria andBattrNotEqualTo(Integer value) {
            addCriterion("battr <>", value, "battr");
            return (Criteria) this;
        }

        public Criteria andBattrGreaterThan(Integer value) {
            addCriterion("battr >", value, "battr");
            return (Criteria) this;
        }

        public Criteria andBattrGreaterThanOrEqualTo(Integer value) {
            addCriterion("battr >=", value, "battr");
            return (Criteria) this;
        }

        public Criteria andBattrLessThan(Integer value) {
            addCriterion("battr <", value, "battr");
            return (Criteria) this;
        }

        public Criteria andBattrLessThanOrEqualTo(Integer value) {
            addCriterion("battr <=", value, "battr");
            return (Criteria) this;
        }

        public Criteria andBattrIn(List<Integer> values) {
            addCriterion("battr in", values, "battr");
            return (Criteria) this;
        }

        public Criteria andBattrNotIn(List<Integer> values) {
            addCriterion("battr not in", values, "battr");
            return (Criteria) this;
        }

        public Criteria andBattrBetween(Integer value1, Integer value2) {
            addCriterion("battr between", value1, value2, "battr");
            return (Criteria) this;
        }

        public Criteria andBattrNotBetween(Integer value1, Integer value2) {
            addCriterion("battr not between", value1, value2, "battr");
            return (Criteria) this;
        }

        public Criteria andSequenceIsNull() {
            addCriterion("sequence is null");
            return (Criteria) this;
        }

        public Criteria andSequenceIsNotNull() {
            addCriterion("sequence is not null");
            return (Criteria) this;
        }

        public Criteria andSequenceEqualTo(Integer value) {
            addCriterion("sequence =", value, "sequence");
            return (Criteria) this;
        }

        public Criteria andSequenceNotEqualTo(Integer value) {
            addCriterion("sequence <>", value, "sequence");
            return (Criteria) this;
        }

        public Criteria andSequenceGreaterThan(Integer value) {
            addCriterion("sequence >", value, "sequence");
            return (Criteria) this;
        }

        public Criteria andSequenceGreaterThanOrEqualTo(Integer value) {
            addCriterion("sequence >=", value, "sequence");
            return (Criteria) this;
        }

        public Criteria andSequenceLessThan(Integer value) {
            addCriterion("sequence <", value, "sequence");
            return (Criteria) this;
        }

        public Criteria andSequenceLessThanOrEqualTo(Integer value) {
            addCriterion("sequence <=", value, "sequence");
            return (Criteria) this;
        }

        public Criteria andSequenceIn(List<Integer> values) {
            addCriterion("sequence in", values, "sequence");
            return (Criteria) this;
        }

        public Criteria andSequenceNotIn(List<Integer> values) {
            addCriterion("sequence not in", values, "sequence");
            return (Criteria) this;
        }

        public Criteria andSequenceBetween(Integer value1, Integer value2) {
            addCriterion("sequence between", value1, value2, "sequence");
            return (Criteria) this;
        }

        public Criteria andSequenceNotBetween(Integer value1, Integer value2) {
            addCriterion("sequence not between", value1, value2, "sequence");
            return (Criteria) this;
        }

        public Criteria andSkipafterIsNull() {
            addCriterion("skipafter is null");
            return (Criteria) this;
        }

        public Criteria andSkipafterIsNotNull() {
            addCriterion("skipafter is not null");
            return (Criteria) this;
        }

        public Criteria andSkipafterEqualTo(Integer value) {
            addCriterion("skipafter =", value, "skipafter");
            return (Criteria) this;
        }

        public Criteria andSkipafterNotEqualTo(Integer value) {
            addCriterion("skipafter <>", value, "skipafter");
            return (Criteria) this;
        }

        public Criteria andSkipafterGreaterThan(Integer value) {
            addCriterion("skipafter >", value, "skipafter");
            return (Criteria) this;
        }

        public Criteria andSkipafterGreaterThanOrEqualTo(Integer value) {
            addCriterion("skipafter >=", value, "skipafter");
            return (Criteria) this;
        }

        public Criteria andSkipafterLessThan(Integer value) {
            addCriterion("skipafter <", value, "skipafter");
            return (Criteria) this;
        }

        public Criteria andSkipafterLessThanOrEqualTo(Integer value) {
            addCriterion("skipafter <=", value, "skipafter");
            return (Criteria) this;
        }

        public Criteria andSkipafterIn(List<Integer> values) {
            addCriterion("skipafter in", values, "skipafter");
            return (Criteria) this;
        }

        public Criteria andSkipafterNotIn(List<Integer> values) {
            addCriterion("skipafter not in", values, "skipafter");
            return (Criteria) this;
        }

        public Criteria andSkipafterBetween(Integer value1, Integer value2) {
            addCriterion("skipafter between", value1, value2, "skipafter");
            return (Criteria) this;
        }

        public Criteria andSkipafterNotBetween(Integer value1, Integer value2) {
            addCriterion("skipafter not between", value1, value2, "skipafter");
            return (Criteria) this;
        }

        public Criteria andSkipminIsNull() {
            addCriterion("skipmin is null");
            return (Criteria) this;
        }

        public Criteria andSkipminIsNotNull() {
            addCriterion("skipmin is not null");
            return (Criteria) this;
        }

        public Criteria andSkipminEqualTo(Integer value) {
            addCriterion("skipmin =", value, "skipmin");
            return (Criteria) this;
        }

        public Criteria andSkipminNotEqualTo(Integer value) {
            addCriterion("skipmin <>", value, "skipmin");
            return (Criteria) this;
        }

        public Criteria andSkipminGreaterThan(Integer value) {
            addCriterion("skipmin >", value, "skipmin");
            return (Criteria) this;
        }

        public Criteria andSkipminGreaterThanOrEqualTo(Integer value) {
            addCriterion("skipmin >=", value, "skipmin");
            return (Criteria) this;
        }

        public Criteria andSkipminLessThan(Integer value) {
            addCriterion("skipmin <", value, "skipmin");
            return (Criteria) this;
        }

        public Criteria andSkipminLessThanOrEqualTo(Integer value) {
            addCriterion("skipmin <=", value, "skipmin");
            return (Criteria) this;
        }

        public Criteria andSkipminIn(List<Integer> values) {
            addCriterion("skipmin in", values, "skipmin");
            return (Criteria) this;
        }

        public Criteria andSkipminNotIn(List<Integer> values) {
            addCriterion("skipmin not in", values, "skipmin");
            return (Criteria) this;
        }

        public Criteria andSkipminBetween(Integer value1, Integer value2) {
            addCriterion("skipmin between", value1, value2, "skipmin");
            return (Criteria) this;
        }

        public Criteria andSkipminNotBetween(Integer value1, Integer value2) {
            addCriterion("skipmin not between", value1, value2, "skipmin");
            return (Criteria) this;
        }

        public Criteria andResourceidIsNull() {
            addCriterion("resourceid is null");
            return (Criteria) this;
        }

        public Criteria andResourceidIsNotNull() {
            addCriterion("resourceid is not null");
            return (Criteria) this;
        }

        public Criteria andResourceidEqualTo(Integer value) {
            addCriterion("resourceid =", value, "resourceid");
            return (Criteria) this;
        }

        public Criteria andResourceidNotEqualTo(Integer value) {
            addCriterion("resourceid <>", value, "resourceid");
            return (Criteria) this;
        }

        public Criteria andResourceidGreaterThan(Integer value) {
            addCriterion("resourceid >", value, "resourceid");
            return (Criteria) this;
        }

        public Criteria andResourceidGreaterThanOrEqualTo(Integer value) {
            addCriterion("resourceid >=", value, "resourceid");
            return (Criteria) this;
        }

        public Criteria andResourceidLessThan(Integer value) {
            addCriterion("resourceid <", value, "resourceid");
            return (Criteria) this;
        }

        public Criteria andResourceidLessThanOrEqualTo(Integer value) {
            addCriterion("resourceid <=", value, "resourceid");
            return (Criteria) this;
        }

        public Criteria andResourceidIn(List<Integer> values) {
            addCriterion("resourceid in", values, "resourceid");
            return (Criteria) this;
        }

        public Criteria andResourceidNotIn(List<Integer> values) {
            addCriterion("resourceid not in", values, "resourceid");
            return (Criteria) this;
        }

        public Criteria andResourceidBetween(Integer value1, Integer value2) {
            addCriterion("resourceid between", value1, value2, "resourceid");
            return (Criteria) this;
        }

        public Criteria andResourceidNotBetween(Integer value1, Integer value2) {
            addCriterion("resourceid not between", value1, value2, "resourceid");
            return (Criteria) this;
        }

        public Criteria andCidIsNull() {
            addCriterion("cid is null");
            return (Criteria) this;
        }

        public Criteria andCidIsNotNull() {
            addCriterion("cid is not null");
            return (Criteria) this;
        }

        public Criteria andCidEqualTo(Integer value) {
            addCriterion("cid =", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotEqualTo(Integer value) {
            addCriterion("cid <>", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidGreaterThan(Integer value) {
            addCriterion("cid >", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidGreaterThanOrEqualTo(Integer value) {
            addCriterion("cid >=", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidLessThan(Integer value) {
            addCriterion("cid <", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidLessThanOrEqualTo(Integer value) {
            addCriterion("cid <=", value, "cid");
            return (Criteria) this;
        }

        public Criteria andCidIn(List<Integer> values) {
            addCriterion("cid in", values, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotIn(List<Integer> values) {
            addCriterion("cid not in", values, "cid");
            return (Criteria) this;
        }

        public Criteria andCidBetween(Integer value1, Integer value2) {
            addCriterion("cid between", value1, value2, "cid");
            return (Criteria) this;
        }

        public Criteria andCidNotBetween(Integer value1, Integer value2) {
            addCriterion("cid not between", value1, value2, "cid");
            return (Criteria) this;
        }

        public Criteria andAidIsNull() {
            addCriterion("aid is null");
            return (Criteria) this;
        }

        public Criteria andAidIsNotNull() {
            addCriterion("aid is not null");
            return (Criteria) this;
        }

        public Criteria andAidEqualTo(Integer value) {
            addCriterion("aid =", value, "aid");
            return (Criteria) this;
        }

        public Criteria andAidNotEqualTo(Integer value) {
            addCriterion("aid <>", value, "aid");
            return (Criteria) this;
        }

        public Criteria andAidGreaterThan(Integer value) {
            addCriterion("aid >", value, "aid");
            return (Criteria) this;
        }

        public Criteria andAidGreaterThanOrEqualTo(Integer value) {
            addCriterion("aid >=", value, "aid");
            return (Criteria) this;
        }

        public Criteria andAidLessThan(Integer value) {
            addCriterion("aid <", value, "aid");
            return (Criteria) this;
        }

        public Criteria andAidLessThanOrEqualTo(Integer value) {
            addCriterion("aid <=", value, "aid");
            return (Criteria) this;
        }

        public Criteria andAidIn(List<Integer> values) {
            addCriterion("aid in", values, "aid");
            return (Criteria) this;
        }

        public Criteria andAidNotIn(List<Integer> values) {
            addCriterion("aid not in", values, "aid");
            return (Criteria) this;
        }

        public Criteria andAidBetween(Integer value1, Integer value2) {
            addCriterion("aid between", value1, value2, "aid");
            return (Criteria) this;
        }

        public Criteria andAidNotBetween(Integer value1, Integer value2) {
            addCriterion("aid not between", value1, value2, "aid");
            return (Criteria) this;
        }

        public Criteria andWeburlIsNull() {
            addCriterion("weburl is null");
            return (Criteria) this;
        }

        public Criteria andWeburlIsNotNull() {
            addCriterion("weburl is not null");
            return (Criteria) this;
        }

        public Criteria andWeburlEqualTo(String value) {
            addCriterion("weburl =", value, "weburl");
            return (Criteria) this;
        }

        public Criteria andWeburlNotEqualTo(String value) {
            addCriterion("weburl <>", value, "weburl");
            return (Criteria) this;
        }

        public Criteria andWeburlGreaterThan(String value) {
            addCriterion("weburl >", value, "weburl");
            return (Criteria) this;
        }

        public Criteria andWeburlGreaterThanOrEqualTo(String value) {
            addCriterion("weburl >=", value, "weburl");
            return (Criteria) this;
        }

        public Criteria andWeburlLessThan(String value) {
            addCriterion("weburl <", value, "weburl");
            return (Criteria) this;
        }

        public Criteria andWeburlLessThanOrEqualTo(String value) {
            addCriterion("weburl <=", value, "weburl");
            return (Criteria) this;
        }

        public Criteria andWeburlLike(String value) {
            addCriterion("weburl like", value, "weburl");
            return (Criteria) this;
        }

        public Criteria andWeburlNotLike(String value) {
            addCriterion("weburl not like", value, "weburl");
            return (Criteria) this;
        }

        public Criteria andWeburlIn(List<String> values) {
            addCriterion("weburl in", values, "weburl");
            return (Criteria) this;
        }

        public Criteria andWeburlNotIn(List<String> values) {
            addCriterion("weburl not in", values, "weburl");
            return (Criteria) this;
        }

        public Criteria andWeburlBetween(String value1, String value2) {
            addCriterion("weburl between", value1, value2, "weburl");
            return (Criteria) this;
        }

        public Criteria andWeburlNotBetween(String value1, String value2) {
            addCriterion("weburl not between", value1, value2, "weburl");
            return (Criteria) this;
        }

        public Criteria andTitleIsNull() {
            addCriterion("title is null");
            return (Criteria) this;
        }

        public Criteria andTitleIsNotNull() {
            addCriterion("title is not null");
            return (Criteria) this;
        }

        public Criteria andTitleEqualTo(String value) {
            addCriterion("title =", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotEqualTo(String value) {
            addCriterion("title <>", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThan(String value) {
            addCriterion("title >", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThanOrEqualTo(String value) {
            addCriterion("title >=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThan(String value) {
            addCriterion("title <", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThanOrEqualTo(String value) {
            addCriterion("title <=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLike(String value) {
            addCriterion("title like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotLike(String value) {
            addCriterion("title not like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleIn(List<String> values) {
            addCriterion("title in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotIn(List<String> values) {
            addCriterion("title not in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleBetween(String value1, String value2) {
            addCriterion("title between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotBetween(String value1, String value2) {
            addCriterion("title not between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andCnameIsNull() {
            addCriterion("cname is null");
            return (Criteria) this;
        }

        public Criteria andCnameIsNotNull() {
            addCriterion("cname is not null");
            return (Criteria) this;
        }

        public Criteria andCnameEqualTo(String value) {
            addCriterion("cname =", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameNotEqualTo(String value) {
            addCriterion("cname <>", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameGreaterThan(String value) {
            addCriterion("cname >", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameGreaterThanOrEqualTo(String value) {
            addCriterion("cname >=", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameLessThan(String value) {
            addCriterion("cname <", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameLessThanOrEqualTo(String value) {
            addCriterion("cname <=", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameLike(String value) {
            addCriterion("cname like", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameNotLike(String value) {
            addCriterion("cname not like", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameIn(List<String> values) {
            addCriterion("cname in", values, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameNotIn(List<String> values) {
            addCriterion("cname not in", values, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameBetween(String value1, String value2) {
            addCriterion("cname between", value1, value2, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameNotBetween(String value1, String value2) {
            addCriterion("cname not between", value1, value2, "cname");
            return (Criteria) this;
        }

        public Criteria andAnameIsNull() {
            addCriterion("aname is null");
            return (Criteria) this;
        }

        public Criteria andAnameIsNotNull() {
            addCriterion("aname is not null");
            return (Criteria) this;
        }

        public Criteria andAnameEqualTo(String value) {
            addCriterion("aname =", value, "aname");
            return (Criteria) this;
        }

        public Criteria andAnameNotEqualTo(String value) {
            addCriterion("aname <>", value, "aname");
            return (Criteria) this;
        }

        public Criteria andAnameGreaterThan(String value) {
            addCriterion("aname >", value, "aname");
            return (Criteria) this;
        }

        public Criteria andAnameGreaterThanOrEqualTo(String value) {
            addCriterion("aname >=", value, "aname");
            return (Criteria) this;
        }

        public Criteria andAnameLessThan(String value) {
            addCriterion("aname <", value, "aname");
            return (Criteria) this;
        }

        public Criteria andAnameLessThanOrEqualTo(String value) {
            addCriterion("aname <=", value, "aname");
            return (Criteria) this;
        }

        public Criteria andAnameLike(String value) {
            addCriterion("aname like", value, "aname");
            return (Criteria) this;
        }

        public Criteria andAnameNotLike(String value) {
            addCriterion("aname not like", value, "aname");
            return (Criteria) this;
        }

        public Criteria andAnameIn(List<String> values) {
            addCriterion("aname in", values, "aname");
            return (Criteria) this;
        }

        public Criteria andAnameNotIn(List<String> values) {
            addCriterion("aname not in", values, "aname");
            return (Criteria) this;
        }

        public Criteria andAnameBetween(String value1, String value2) {
            addCriterion("aname between", value1, value2, "aname");
            return (Criteria) this;
        }

        public Criteria andAnameNotBetween(String value1, String value2) {
            addCriterion("aname not between", value1, value2, "aname");
            return (Criteria) this;
        }

        public Criteria andBsizeIsNull() {
            addCriterion("bsize is null");
            return (Criteria) this;
        }

        public Criteria andBsizeIsNotNull() {
            addCriterion("bsize is not null");
            return (Criteria) this;
        }

        public Criteria andBsizeEqualTo(Integer value) {
            addCriterion("bsize =", value, "bsize");
            return (Criteria) this;
        }

        public Criteria andBsizeNotEqualTo(Integer value) {
            addCriterion("bsize <>", value, "bsize");
            return (Criteria) this;
        }

        public Criteria andBsizeGreaterThan(Integer value) {
            addCriterion("bsize >", value, "bsize");
            return (Criteria) this;
        }

        public Criteria andBsizeGreaterThanOrEqualTo(Integer value) {
            addCriterion("bsize >=", value, "bsize");
            return (Criteria) this;
        }

        public Criteria andBsizeLessThan(Integer value) {
            addCriterion("bsize <", value, "bsize");
            return (Criteria) this;
        }

        public Criteria andBsizeLessThanOrEqualTo(Integer value) {
            addCriterion("bsize <=", value, "bsize");
            return (Criteria) this;
        }

        public Criteria andBsizeIn(List<Integer> values) {
            addCriterion("bsize in", values, "bsize");
            return (Criteria) this;
        }

        public Criteria andBsizeNotIn(List<Integer> values) {
            addCriterion("bsize not in", values, "bsize");
            return (Criteria) this;
        }

        public Criteria andBsizeBetween(Integer value1, Integer value2) {
            addCriterion("bsize between", value1, value2, "bsize");
            return (Criteria) this;
        }

        public Criteria andBsizeNotBetween(Integer value1, Integer value2) {
            addCriterion("bsize not between", value1, value2, "bsize");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}